import request from '@/utils/request'

export default {
  getSendMoneyList(searchModel){
    return request({
      url: '/sendMoney/list',
      method: 'get',
      params: {
        pageNo: searchModel.pageNo,
        pageSize: searchModel.pageSize
      }
    })
  },
  save(body) {
    return request({
      url: '/sendMoney/save',
      method: 'post',
      data: body
    })
  },
  getById(id) {
    return request({
      url: `/sendMoney/${id}`,
      method: 'get'
    })
  },
  deleteById(id) {
    return request({
      url: `/sendMoney/${id}`,
      method: 'delete'
    })
  }
}
